package cn.hznc.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 刀具信息导入单元
 *
 * @Author Administrator
 * @Date 2023/3/23 9:43
 */
@Getter
@Setter
@EqualsAndHashCode
public class ToolForkInfoImport {

    /**
     * 序号
     */
    @ExcelProperty(index = 0)
    private Integer index;

    /**
     * 工具类型
     */
    @ExcelProperty(index = 1)
    private String typeName;


    /**
     * 刀具编码idnr
     */
    @ExcelProperty(index = 2)
    private String idnr;

    /**
     * Cutting diameter
     * 切削直径(dc)
     */
    @ExcelProperty(index = 3)
    private BigDecimal dc;

    /**
     * GRDMFG(牌号)
     */
    @ExcelProperty(index = 4)
    private String grdmfg;

    /**
     * 物料编码
     */
    @ExcelProperty(index = 5)
    private String partno;

    /**
     * 总长度
     */
    @ExcelProperty(index = 6)
    private BigDecimal oal;

    /**
     * 手性方向
     * -left/-right
     */
    @ExcelProperty(index = 7)
    private String hand;

    /**
     * 程序指令码
     */
    @ExcelProperty(index = 8)
    private String ccws;

    /**
     * 刀片长度
     */
    @ExcelProperty(index = 9)
    private BigDecimal insl;

    /**
     * 描述
     */
    @ExcelProperty(index = 10)
    private String description;

    /**
     * 错误信息
     */
    @ExcelProperty(index = 11)
    private String errorInfo;
}
